package com.study.online.redis;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * redis 消息处理器
 *
 * @author: chenhs
 * @date: Created in 15:41 2020/1/2
 **/
@Component
public class MessageReceive {

    @Autowired
    private MessageReceiveHandler messageReceiveHandler;

    public void receiveMessage(String message) {
        messageReceiveHandler.messagePush(message);
    }


}
